package com.binguo.api.service.api;

import com.binguo.api.response.api.BaseChargeResp;
import com.binguo.api.response.api.BaseUserInfo;
import com.binguo.model.api.dto.OrderDTO;

public interface ShopApiInterface {

    /**
     * 支付前执行
     * @param orderDTO
     * @return
     */
    public BaseChargeResp payPreHandler(OrderDTO orderDTO);

    /**
     * 支付后执行
     * @param orderDTO
     * @return
     */
    public BaseChargeResp payPostHandler(OrderDTO orderDTO);

    /**
     * 获取用户信息
     * @param cardNo
     * @return
     */
    public BaseUserInfo getUserInfo(String cardNo);

    /**
     * 获取产品信息
     * @return
     */
    public BaseChargeResp getProductList();
    /**
     * 卡支付
     * @param orderDTO
     * @return
     */
    public BaseChargeResp cardPay(OrderDTO orderDTO);

    /**
     * 微信支付
     * @param orderDTO
     * @return
     */
    public BaseChargeResp wxPay(OrderDTO orderDTO);

    /**
     * 阿里支付
     * @param orderDTO
     * @return
     */
    public BaseChargeResp aliPay(OrderDTO orderDTO);

    /**
     * 人脸支付
     * @param orderDTO
     * @return
     */
    public BaseChargeResp facePay(OrderDTO orderDTO);

    /**
     * 现金支付
     * @param orderDTO
     * @return
     */
    public BaseChargeResp cashPay(OrderDTO orderDTO);

    /**
     * 扫码支付
     * @param orderDTO
     * @return
     */
    public BaseChargeResp qrCodePay(OrderDTO orderDTO);
}
